package cn.com.djin.ssm.entity;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

/**
 * 
 * @author djin
 *   商品评价表
 */
@JsonIgnoreProperties(value = { "hibernateLazyInitializer", "handler" })
public class GoodEvaluate extends BaseEntity {

	private static final long serialVersionUID = 1L;
	
	//id
	private Integer geid;
	//商品评价内容
	private String geContent;
	//评价的时间
	@JsonFormat(pattern="yyyy/MM/dd",timezone="GMT+8")
	private Date geDate;
	//整体打分
	private Integer geOverall;
	//价格评价
	private Integer gePrice;
	//服务评价
	private Integer geServer;
	//评价的商品
	private Good good;
	//评价用户
	private User user;
	//评价的商品颜色
	private GoodColor goodColor;
	//评价的商品尺寸
	private GoodSize goodSize;
	
	public Integer getGeid() {
		return geid;
	}
	public void setGeid(Integer geid) {
		this.geid = geid;
	}
	public String getGeContent() {
		return geContent;
	}
	public void setGeContent(String geContent) {
		this.geContent = geContent;
	}
	public User getUser() {
		return user;
	}
	public void setUser(User user) {
		this.user = user;
	}
	public Good getGood() {
		return good;
	}
	public void setGood(Good good) {
		this.good = good;
	}
	public Date getGeDate() {
		return geDate;
	}
	public void setGeDate(Date geDate) {
		this.geDate = geDate;
	}
	public Integer getGeOverall() {
		return geOverall;
	}
	public void setGeOverall(Integer geOverall) {
		this.geOverall = geOverall;
	}
	public Integer getGePrice() {
		return gePrice;
	}
	public Integer getGeServer() {
		return geServer;
	}
	public void setGePrice(Integer gePrice) {
		this.gePrice = gePrice;
	}
	public void setGeServer(Integer geServer) {
		this.geServer = geServer;
	}
	public GoodColor getGoodColor() {
		return goodColor;
	}
	public GoodSize getGoodSize() {
		return goodSize;
	}
	public void setGoodColor(GoodColor goodColor) {
		this.goodColor = goodColor;
	}
	public void setGoodSize(GoodSize goodSize) {
		this.goodSize = goodSize;
	}
	@Override
	public String toString() {
		return "GoodEvaluate [geid=" + geid + ", geContent=" + geContent + ", geDate=" + geDate + ", geOverall="
				+ geOverall + ", gePrice=" + gePrice + ", geServer=" + geServer + ", good=" + good + ", user=" + user
				+ "]";
	}
	
}
